package com.cms.dao.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.cms.common.annotation.RecordLog;
import com.cms.exception.SystemDBException;
import com.cms.model.TrLotteryTime;

public interface LotteryTimeMapper {

	 /***
	  *  
	  * @param time
	  * @throws SystemDBException
	  */
	 @RecordLog(expression="修改彩种时间[${id}]${lotteryTime}",name="lotteryTime",catalog="lotteryTimeInfo")
	 public void updateLotteryTime(@Param("lottery")TrLotteryTime time)throws SystemDBException;
	 
	 
	 /***
	  * 
	  * @param times
	  * @throws SystemDBException
	  */
	 public void saveLotteryTimes(@Param("lotteryTimes")List<TrLotteryTime>times)throws SystemDBException;
	 
	 
	 /***
	  * 该彩种是否设置过开彩时间数据
	  * @param lotteryId
	  * @return
	  */
	 public int queryLotteryTime(@Param("lotteryId")int lotteryId);
	 
	 
	 
}
